package com.ogilvy.audi.model.util;

/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2010-10-18
 * Time: 10:34:31
 * To change this template use File | Settings | File Templates.
 */
public class PageParameter {
    private String parName;
    private String parValue;
    private String alias;
    /**
     *  模糊查询
     */
    private Boolean fuzzyStatus;
    /**
     * 与 或 查询
     */
    private Boolean andStatus;
    /**
     *
     */
    private String compareSymbol;





    public String getParName() {
        return parName;
    }

    public void setParName(String parName) {
        this.parName = parName;
    }

    public String getParValue() {
        return parValue;
    }



    public void setParValue(String parValue) {
        this.parValue = parValue;
    }


    public String getCompareSymbol() {
        return compareSymbol;
    }

    public void setCompareSymbol(String compareSymbol) {
        this.compareSymbol = compareSymbol;
    }

    public String getAlias() {
         if(null==alias)
             alias="r";
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public Boolean isFuzzyStatus() {
        return fuzzyStatus;
    }

    public void setFuzzyStatus(Boolean fuzzyStatus) {
        this.fuzzyStatus = fuzzyStatus;
    }

    public Boolean getAndStatus() {
          if(null==andStatus)
            andStatus=Boolean.TRUE;
        return andStatus;
    }

    public void setAndStatus(Boolean andStatus) {
        this.andStatus = andStatus;
    }
}
